import java.sql.SQLException;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        ReservationBean reservationBean = new ReservationBean();
        Scanner scanner = new Scanner(System.in);
        String tno = scanner.nextLine();

        try {
            reservationBean.getResultSetFromRservations(tno);
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}